package com.cssy.yd.basic.dao;

import java.util.List;
import org.springframework.dao.DataAccessException;

import com.cssy.yd.basic.entity.BasicModePaymentDO;
import com.plat.helper.SearchConditions;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2013-06-19
 */
public interface BasicModePaymentDAO {

    /**
     * �������
     * @param basicModePaymentDO
     * @return ������ݵ�����
     */
    public String insertBasicModePaymentDO(BasicModePaymentDO basicModePaymentDO) throws DataAccessException;

    /**
     * ͳ�Ƽ�¼��
     * @param basicModePaymentDO
     * @return ����ļ�¼��
     */
    public Integer countBasicModePaymentDOByExample(BasicModePaymentDO basicModePaymentDO) throws DataAccessException;

    /**
     * ���¼�¼
     * @param basicModePaymentDO
     * @return ��Ӱ�������
     */
    public Integer updateBasicModePaymentDO(BasicModePaymentDO basicModePaymentDO) throws DataAccessException;

    /**
     * ��ȡ�����б�
     * @param basicModePaymentDO
     * @return �����б�
     */
    public List<BasicModePaymentDO> findListByExample(BasicModePaymentDO basicModePaymentDO) throws DataAccessException;

    /**
     * ��������ȡbasicModePaymentDO
     * @param id
     * @return basicModePaymentDO
     */
    public BasicModePaymentDO findBasicModePaymentDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteBasicModePaymentDOByPrimaryKey(String id) throws DataAccessException;

   	public List<BasicModePaymentDO> find(SearchConditions scs) throws DataAccessException;

   	public Integer count(SearchConditions scs) throws DataAccessException;
}